package com.awifi.demo.dao;

import com.awifi.demo.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @description: ToDo
 * @author: marin
 * @time: 2020/8/24 14:43
 */
@Mapper
@Component
public interface StudentMapper {
    List<Student> findAllStudent();
    Student findStudent(@Param("id")int id);
}
